package cn.cggc.expl.demo;

import cn.cggc.admin.common.Version;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@EnableDiscoveryClient
@SpringBootApplication

@ComponentScan({"cn.cggc.admin.service.*","cn.cggc.expl.demo.controller"})
@EnableFeignClients("cn.cggc.admin.service.*")
public class ExplApplication {

    public static void main(String[] args){
        SpringApplication.run(ExplApplication.class, args);
        Version.version();
    }
}
